home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / public / bit / help / convolv.hlp < prev    next >
Text File  |  1994-08-01  |  1KB  |  30 lines

  1.  
  2. @C1@c@b@_ Convolution 
  3.  
  4.      Read in an externally defined (square) matrix and convolve with
  5.      the current image. The transformed image replaces the current image
  6.      if successful.
  7.  
  8. @b Format
  9.      The convolution matrix definitions must start with the at sign (@).
  10.      Any line that does not start with at sign is considered to be
  11.      comments and is silently ignored.
  12.  
  13.      The convolution matrix must have the following format:
  14. @f   @label; n; n1, n2, n3 ,....;
  15.      where label is the kernel name and is used to label the activation
  16.      button; n is the order of the square matrix and n1, n2, n3 etc. are
  17.      the matrix elements in column major, i.e., n1 is the (0,0) element,
  18.      n2 is the (0,1) element etc. The matrix need not to be normalized.
  19.      The following is a valid definition to sharpen an image:
  20. @f   @sharpen; 3; 0, -1, 0, -1, 10, -1, 0, -1,0;
  21.  
  22.      See Also /usr/local/lib/bit/BIT_convolve for examples.
  23.  
  24. @b Locations
  25.     Convolution matrix definition file must be named BIT_convolve.
  26.     Bit searches for it in system directory /usr/local/lib/bit,
  27.     current directory, and $HOME/.bitrc. All valid definitions found
  28.     are concatenated with repeats removed.
  29.  
  30.